import http from "./request";

// 获取所有分类的面试题标题
export const  getInterviewTitle = ()=>{
    return http({
        url:"/api/interview/interviewTitle",
        method:"get"
    })
}


// 根据面试题id获取面试题
export const getInterviewById = (interviewId:string)=>{
    return http({
        url:`/api/interview/${interviewId}`,
        method:"get"
    })
}